deleteGame

  • function
 

Delete a game from the database.

details.deleteGame(game)

Delete a game from the database.

Parameters

  1. game {Game}

    The Game to delete.

Use in a template like:

<span class="destroy-btn" ($click)="deleteGame(.)"></span>